package com.xshbbs.service;

import java.util.List;

import com.xshbbs.entity.Partition;

public interface PartitionService {
	
	/**
	 * 获得所有分区及该分区下的版块
	 */
	public List<Partition> selectAllPartition();
	
	//添加分区验证 
	public String admit(Partition partition);
	
	/**
	 * 根据id获取分区所有信息
	 */
	public Partition selectPartitionById(Integer id);
	
	public boolean insertPartition(Partition partition);
	
	public boolean deletePartitionById(Integer id);
	
	public boolean updatePartitionById(Partition partition);
	
}
